package com.geeksaga.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;

import com.geeksaga.dao.BbsHistoryDao;
import com.geeksaga.domain.BbsHistory;

/**
 * @author newbie
 * @since 0.1
 */
@Service
public class BbsHistoryServiceImpl implements BbsHistoryService {

    @Autowired protected BbsHistoryDao bbsHistoryDao;
    
    /* (non-Javadoc)
     * @see com.geeksaga.service.BbsHistoryService#findList(java.util.Map)
     */
    public List<BbsHistory> findList(Map<String, Object> parameter) throws DataAccessException {
        return bbsHistoryDao.findList(parameter);
    }
    
    /* (non-Javadoc)
     * @see com.geeksaga.service.BbsHistoryService#find(com.geeksaga.domain.BbsHistory)
     */
    public BbsHistory find(BbsHistory bbsHistory) throws DataAccessException {
        return bbsHistoryDao.find(bbsHistory);
    }
}